package com.biomatch.controller;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.Teacher;
import com.biomatch.dto.Pagination;
import com.biomatch.response.RestResponse;
import com.biomatch.response.RestResult;
import com.biomatch.utils.Internationalize;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


@RestController("dance.student")
@RequestMapping("/student")
@Api(value = "学生管理")
public class StudentController {

    @Autowired
    private Internationalize internationalize;
//
//    @RequestMapping(value="/getAllByPage", method = RequestMethod.POST)
//    @ApiOperation(value = "分页获取学生次卡信息", response = Teacher.class, httpMethod = "POST")
//    public RestResult<Teacher> getAllByPage(@RequestBody Pagination pagination) {
//        IPage<Teacher> result=teacherService.getAllByPage(pagination);
//        return RestResponse.success(result);
//    }
}
